import { CarBrandModule } from './../car_brand/car_brand.module';
import { CarBrandService } from './../car_brand/car_brand.service';
import { CarModel } from './car_model.entity';
import { Module } from '@nestjs/common';
import { PassportModule } from '@nestjs/passport';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CarModelService } from './car_model.service';
import { CarModelController } from './car_model.controller';

@Module({
  imports: [
    TypeOrmModule.forFeature([CarModel]),
    PassportModule.register({ defaultStrategy: 'jwt' }),
    CarBrandModule,
  ],
  controllers: [CarModelController],
  providers: [CarModelService],
})
export class CarModelModule {}
